package com.beadwallet.alarm.entity.alarmInfo;

import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;

import java.io.Serializable;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author master
 * @since 2017-12-12
 */
@TableName("t_alarm_info")
public class AlarmInfo extends Model<AlarmInfo> implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * 主键id自增长
     */
    private Integer id;
    /**
     * 项目id
     */
    @TableField(value = "project_id")
    private String projectId;
    /**
     * 邮件收件人
     */
    @TableField(value = "mail_recipient")
    private String mailRecipient;
    /**
     * 微信收件人
     */
    @TableField(value = "wechat_recipient")
    private String wechatRecipient;
    /**
     * IP地址
     */
    @TableField(value = "ip_address")
    private String ipAddress;
    /**
     * 发送级别
     */
    @TableField(value = "send_level")
    private String sendLevel;
    /**
     * 发送类型
     */
    @TableField(value = "send_type")
    private String sendType;
    /**
     * 发件人
     */
    @TableField(value = "the_sender")
    private String theSender;
    /**
     * 项目名称
     */
    @TableField(value = "project_name")
    private String projectName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getMailRecipient() {
        return mailRecipient;
    }

    public void setMailRecipient(String mailRecipient) {
        this.mailRecipient = mailRecipient;
    }

    public String getWechatRecipient() {
        return wechatRecipient;
    }

    public void setWechatRecipient(String wechatRecipient) {
        this.wechatRecipient = wechatRecipient;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getSendLevel() {
        return sendLevel;
    }

    public void setSendLevel(String sendLevel) {
        this.sendLevel = sendLevel;
    }

    public String getSendType() {
        return sendType;
    }

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    public String getTheSender() {
        return theSender;
    }

    public void setTheSender(String theSender) {
        this.theSender = theSender;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
